﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ImgStore.aspx.cs" Inherits="CNVP.JShop.Web.Admin.CommonWindows.ImgStore" %>

<script type="text/javascript">
    function selectImg(index) {
        document.getElementById("idImgName").value = index;
    }
</script>
<asp:Repeater ID="rpList" runat="server">
        <ItemTemplate>
          <a href ="#" onclick='selectImg(<%=PicName%>)'>
              <img src='<%#Eval("imgName")%>' width="50px" height="50px" />
          </a>
        </ItemTemplate>
    </asp:Repeater>
    <input id="idImgName" type="text" name="idImgName" />
   